<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <link rel="apple-touch-icon" sizes="76x76" href="{_INDEX_STATIC_}/moban/assets/img/apple-icon.png">
    <link rel="icon" type="image/png" href="{_INDEX_STATIC_}/moban/assets/img/favicon.png">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>成果审核 | {$system_name}</title>
    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
        name='viewport' />
    <link href="{_INDEX_STATIC_}/moban/assets/css/bootstrap.min.css" rel="stylesheet" />
    <link href="{_INDEX_STATIC_}/moban/assets/css/now-ui-kit.css?v=1.1.0" rel="stylesheet" />
    <link href="{_INDEX_STATIC_}/moban/assets/css/font-awesome.min.css" rel="stylesheet" />
</head>

<body class="index-page sidebar-collapse">

    <!-- 引入导航栏 -->
    {include file='public/header'}

    <div class="container" style="min-height: 490px;">
        <!-- 个人信息 -->
        <div class="row">
            <div class="col-md-12">
                <h3>成果审核
                    <span style="font-size: 14px;color: red;">数据为已提交的审核数量,数量为0则是没有要审核的数据</span>
                </h3>
            </div>
        </div>

        <!-- 成果分类 -->
        <div class="row">
            {volist name="achievement_list" id="row" empty="<div class='col-md-12'>没有可审核的成果类型</div>"}
            <div class="col-md-3" style="margin-bottom: 15px;cursor: pointer;" onclick="details('{$row.id}')">
                <div class="card bg-muted">
                    <div class="card-header bg-info text-white">{$row.name}</div>
                    <div class="text-info" style="text-align: center;font-size: 48px;">{$row.achievement_count}</div>
                    <div class="card-footer text-danger" style="text-align: right;">点击进入审核
                        <i class="fa fa-chevron-right"></i>
                    </div>
                </div>
            </div>
            {/volist}
        </div>
    </div>

    <!-- 引入页脚 -->
    {include file='public/footer'}

    <script>

        // 详情页面
        function details(cid) {
            redirect_url("{:url('achievement_audit/details')}?cid=" + cid);
        }

        // 重定向
        function redirect_url(url) {
            window.location.href = url;
        }
    </script>

</body>

</html>